/*
 * Presence.h
 *
 *  Created on: Apr 4, 2011
 *      Author: trietto
 */

#ifndef PRESENCE_H_
#define PRESENCE_H_

#include <FBase.h>
#include "xmpp/util/StringUtils.h"
#include "xmpp/packet/XmppError.h"
#include "xmpp/packet/Packet.h"
#include <FBaseInteger.h>

using namespace Osp::Base;

class Presence : Packet{
public:
	Presence();
	Presence(String type);
	Presence(String type, String status, int priority, String mode);
	virtual ~Presence();
public:
	virtual String toXML();
    String getMode();
    int getPriority();
    String getStatus();
    String getType();
    void setMode(String mode);
    void setPriority(int priority);
    void setStatus(String status);
    void setType(String type);

private:
	String __type;
	String __status;
	int __priority;
	String __mode;
};

#endif /* PRESENCE_H_ */
